package cn.itcast.item.mapper;

import cn.itcast.hmall.pojo.item.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface ItemMapper extends BaseMapper<Item> {
    @Select("select * from tb_item where id=#{id}")
    Item selectMy(Long id);
}
